package org.ssh2.core.entity;


import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

@Entity
@Table(name = "soft_file")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class SoftFile extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3164576007745328458L;

//	/**
//	 * 编号	Id
//文档名	document_name
//所属课程设计	project_name
//所属任务	task_name
//          分数	document_store
//	 */
//	private static final long serialVersionUID = -7495644521033858571L;
//
//	@Column(name = "document_type")
//	private String documentType;//文件类型
//	
//	@Column(name = "document_size")
//	private String documentSize;//文件大小
//	
//	
//	@Column(name = "document_byteacher")
//	private String documentByteacher;//所属教师
//	
////	@ManyToOne(fetch = FetchType.LAZY)
////	@JoinColumn(name = "user_id")
////	private SoftUser user;
//	
//
////	@ManyToOne(fetch = FetchType.LAZY)
////	@JoinColumn(name = "user_id")
////	private SoftUser user;
////	@ManyToMany(mappedBy = "user_document", fetch = FetchType.EAGER)
////	private Set<SoftUser> doucument_user; 
////	
//	
////	@ManyToOne(fetch = FetchType.LAZY)
////	@JoinColumn(name = "project_id")
////	private SoftProject project;
//	
//	@ManyToOne(fetch = FetchType.LAZY)
//	@JoinColumn(name = "project_id")
//	private SoftProject project;
//	
//	
//	public SoftProject getProject() {
//		return project;
//	}
//
//	public void setProject(SoftProject project) {
//		this.project = project;
//	}
//
//	public String getDocumentByteacher() {
//		return documentByteacher;
//	}
//
//	public void setDocumentByteacher(String documentByteacher) {
//		this.documentByteacher = documentByteacher;
//	}
//
//	public SoftDocument(){
//		
//	}
//
//	public String getDocumentType() {
//		return documentType;
//	}
//
//	public void setDocumentType(String documentType) {
//		this.documentType = documentType;
//	}
//
//	public String getDocumentSize() {
//		return documentSize;
//	}
//
//	public void setDocumentSize(String documentSize) {
//		this.documentSize = documentSize;
//	}
//

	
	
}
